//
//  NSObject+LL.h
//  lrlzapp
//
//  Created by dl on 16/2/25.
//  Copyright © 2016年 lrlz. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSObject (LL)

- (BOOL)isNullStr;

@end


// string
@interface NSString (LL)

- (BOOL)isTelephone;

- (BOOL)isCheckCode;

- (NSString *)urlEncodedString;

- (NSString *)md5Hash;

- (NSString *)sha1;

// 从URL的param字符串中，提取key对应的value
- (NSString *)getValueFromUrlParamStrWithKey:(NSString *)key;

- (NSString *)humanSalesCnt;

// 解码JS端编码之后的URL
- (NSString *)stringByDecodingURLFormat;

@end